package com.cmc.cloud.cmclink.doc.vo.blnoblprintlogvo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;
/**
 * 提单打印批量操作请求VO
 *
 * @author heguo
 */
@Schema(description = "提单打印批量操作请求VO")
@Data
@EqualsAndHashCode()
@AllArgsConstructor
@NoArgsConstructor
@ToString(callSuper = true)
public class BlnoPrintBatchOperationReqDto {

    @NotNull(message = "文件打印操作类型不可为空")
    @Schema(description = "previewBl、draftBl、printAtt、printBl", example = "对应打印编辑中4个按钮，点击按钮必传")
    private String type;

    @Schema(description = "提单ID列表", example = "")
    @Size(min = 1, max = 100, message = "id列表长度在{min}到{max}之间")
    private List<Long> blIds;

}
